<?php
class Application_Model_Tesis extends Zend_Db_Table_Abstract
{
    protected $_name ='tesis';
    protected $_primary ='id_tesis';
    
    public function getAll()
    {
        return $this->fetchAll();
    }
    public function save($bind)
    {
        $row =$this->createRow();
        $row->titulo=$bind['titulo'];
        return $row->save(); 
    }
}
